import { configureStore } from '@reduxjs/toolkit'
import logger from 'redux-logger'
import thunk from 'redux-thunk'
import routeSliceReducer from './features/routeSlice'

const store = configureStore({
    reducer: {
        route: routeSliceReducer,
    },
    middleware: [logger, thunk],
})

export default store
